/**
 * Created by zeng on 2016/5/9.
 */
let React = require('react');
let ReactDOM = require('react-dom');
//let AppComponentBox = require('./components/productBox.js');
//ReactDOM.render(<AppComponentBox />, document.getElementById('content'));
//
//let AppComponentMenu = require('./components/productList.js');
//ReactDOM.render(<AppComponentMenu />, document.getElementById('menu'));

let AppComponentHello = require('./components/helloMessage.js');
//var child = React.createElement('li', null, 'Text Content');
//var root = React.createElement('ul', { className: 'my-list' }, child);

//var root = React.DOM.ul({ className: 'my-list' },
//    React.DOM.li(null, 'Text Content')
//);

ReactDOM.render(<AppComponentHello />, document.getElementById('menu'));